/**
 * 用户实体
 */
import { Column, Entity, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm'
 
@Entity('user')
export class User {

  @PrimaryGeneratedColumn({ name: 'user_id' })
  userId!: number

  @Column({ name: 'user_type' })
  userType!: number
 
  @Column({ name: 'user_name' })
  userName!: string
 
  @Column({ name: 'user_login' })
  userLogin!: string
 
  @Column({ name: 'user_pwd' })
  userPwd!: string
  
}